﻿using System.Collections.Generic;

namespace Learun.Application.TwoDevelopment.ZZDT_EC
{
    /// <summary>
    /// 版 本 PIT-ADMS V7.0.3 敏捷开发框架
    /// Copyright (c) 2013-2018 Hexagon PPM
    /// 创 建：超级管理员
    /// 日 期：2022-03-07 13:46
    /// 描 述：工程数据属性表
    /// </summary>
    public interface ec_enginedata_propertyIBLL
    {
        #region 获取数据

        /// <summary>
        /// 获取工程数据属性表数据
        /// <summary>
        /// <param name="EngineDataID">工程数据ID</param>
        /// <param name="ProjectId">项目ID</param>
        /// <returns></returns>
        IEnumerable<ec_enginedata_propertyEntity> GetEnginePropById(string ProjectId, string EngineDataID,string CaseID="");
        /// <summary>
        /// 获取工程数据属性表数据
        /// <summary>
        /// <param name="ProjectId">项目ID</param>
        /// <param name="EngineDataIds">工程数据ID</param>
        /// <returns></returns>
        IEnumerable<ec_enginedata_propertyEntity> GetEnginePropByList(string ProjectId, List<string> listEngineDataID, string CaseID = "");


        #endregion

        #region 提交数据
        /// <summary>
        /// 
        /// </summary>
        /// <param name="ProjId"></param>
        /// <param name="TagID"></param>
        /// <param name="entity"></param>
        void InsertTagProp(string ProjId, string TagID, ec_enginedata_propertyEntity entity);

        /// <summary>
        /// 保存工程数据属性表数据（新增）
        /// <summary>
        /// <returns></returns>
        void SaveEngineProp(string ProjectId, List<ec_enginedata_propertyEntity> entityList);
        /// <summary>
        /// 更新默认工程数据属性
        /// <summary>
        /// <returns></returns>
        void UpdateEnginePropByDefault(string ProjId);
        /// <summary>
        /// 插入默认工程数据属性
        /// <summary>
        /// <returns></returns>
        void InsertEnginePropByDefault(string ProjId);
        #endregion

    }
}
